package de.fhk.fst.dvr.recording

import de.fhk.fst.dvr.info.TVStation
import de.fhk.fst.dvr.recordings.RequestStatus
import de.fhk.fst.dvr.user.User

class RecordingRequest {

  TVStation station
  User requester
  RequestStatus status

  static belongsTo = [show : TvShow]

  static constraints = {
    station(unique: ["requester", "show"])
  }
}
